body {
  display: flex;
  place-content: center;
  place-items: center;

  fieldset {
    transition: 250ms;
    padding: 12px;
    border: 1px solid #ebebeb;
    border-radius: 3px;
    width: 800px;
    margin-bottom: 10rem;

    &:hover {
      transition: 250ms;
      box-shadow: 0 0 3px 2px #f5f5f5;

      > legend {
        transition: 550ms;
        color: #606266;
      }
    }

    legend {
      color: #dcdfe6;
    }

    label {
      color: #606266;
      margin-right: 12px;
    }

    div {
      margin-bottom: 12px;
    }

    input,
    select,
    textarea {
      border: 1px solid #dcdfe6;
      border-radius: 4px;
      outline: none;
      display: inline-block;
      font-size: inherit;
      cursor: pointer;

      &:hover {
        transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
        border-color: #c0c4cc;
      }

      &[type='text'],
      &[type='password'],
      &[type='datetime-local'],
      &[type='number'],
      &[type='email'],
      &[id='area'],
      &[id='url'],
      &[id='month'],
      &[id='week'],
      &[id='datalist'] {
        height: 40px;
        line-height: 40px;
        outline: none;
        padding: 0 15px;
        width: 40%;
      }

      &[id='area'] {
        width: 44%;
        color: #c0c4d6;
      }

      &[type='time'],
      &[type='date'] {
        width: 20.6%;
        height: 35px;
        color: #c0c4d6;
      }

      &[type='checkbox'] {
        color: #606266;
      }

      &[type='submit'] {
        color: #fff;
        background-color: #409eff;
        border-color: #409eff;
        display: inline-block;
        line-height: 1;
        white-space: nowrap;
        cursor: pointer;
        text-align: center;
        box-sizing: border-box;
        outline: none;
        margin: 0;
        transition: 0.1s;
        font-weight: 500;
        padding: 12px 20px;
        font-size: 14px;
        border-radius: 4px;
        margin-left: 75px;

        &:hover {
          transition: 250ms;
          background-color: #66b1ff;
        }
      }

      &[type='reset'] {
        display: inline-block;
        line-height: 1;
        white-space: nowrap;
        cursor: pointer;
        background: #fff;
        border: 1px solid #dcdfe6;
        color: #606266;
        text-align: center;
        box-sizing: border-box;
        outline: none;
        margin: 0;
        transition: 0.1s;
        font-weight: 500;
        padding: 12px 20px;
        font-size: 14px;
        border-radius: 4px;

        &:hover {
          transition: 250ms;
          background-color: #ecf5ff;
          border-color: #c6e2ff;
          color: #409eff;
        }
      }
      &[type='file'] {
        opacity: 0;
      }
      &[type='range']{
          width: 335px;
      }
    }
    .upload {
      border: 1px solid #409eff;
      width: 80px;
      height: 30px;
      text-align: center;
      line-height: 30px;
      padding-left: .7rem;
      background-color: #409eff;
      border-radius: 4px;
      label{
        color: #fff;

      }
    }

    .textarea {
      display: flex;

      > textarea {
        font-size: 15px;
        padding: 5px 15px;
      }
    }

    option[data-style='area'] {
      color: #606266;
    }

    .divider {
      margin: 2rem 0;
      border-bottom: 2px dashed #f0f2f5;
    }
    section {
      label {
        display: block;
        margin-bottom: 28px;
      }
      .tips {
        font-size: 12px;
        color: #c1c1c1;
      }
    }

    .btnContainer {
      width: 100%;
      text-align: right;
      padding: 5px;
      #moreBtn {
        color: #409eff;
        font-size: 15px;
        cursor: pointer;
      }
    }
  }
}
